package com.juc.demo1;

public class test1 {
    public static void main(String[] args) {
        new Thread().start();

        //获取cpu多核数量
        System.out.println(Runtime.getRuntime().availableProcessors());

        //状态
//        Thread.State
    }
}
